package com.dmap.officialwebsite.service;

import com.dmap.officialwebsite.controller.background.param.ArticleParam;
import com.dmap.officialwebsite.controller.background.param.ArticleSelectParam;
import com.dmap.officialwebsite.po.Article;

import java.util.List;

public interface ArticleService {

    Article insert(ArticleParam param);

    boolean update(ArticleParam param);

    boolean deleteById(Long id);

    List<Article> selectAllByExample(ArticleSelectParam param);

    int countRecordNumberByExample(ArticleSelectParam param);

}
